package com.roin.learn.mybatisplus.domain;

import lombok.Data;

/**
 * 用户的其他信息
 * 在数据库中存储为json字符串，通过配置类型处理器（ @TableField(typeHandler = JacksonTypeHandler.class)）自动解析和封装
 * @see User.otherInfo
 */
@Data
public class UserOtherInfo {
    private String motherName;
    private String fatherName;
    private String wifeName;
    private String husbandName;
    private int childCount;
}
